<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: PolylineOps</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d2/ded/struct_polyline_ops-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">PolylineOps</div></div>
</div><!--header-->
<div class="contents">

<p>关于线串的系列操作  
 <a href="../../db/daf/struct_polyline_ops.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d1/dd6/_a_t_opts_8h_source.html">ATOpts.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:abde19df53c9f0119b3165238af69ec5a"><td class="memItemLeft" align="right" valign="top">static bool ATGEOSET_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/daf/struct_polyline_ops.html#abde19df53c9f0119b3165238af69ec5a">ClosestApproach</a> (xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;xyzA, xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;xyzB, CurveDescInfoR locationA, CurveDescInfoR locationB)</td></tr>
<tr class="memdesc:abde19df53c9f0119b3165238af69ec5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">最接近的点  <a href="../../db/daf/struct_polyline_ops.html#abde19df53c9f0119b3165238af69ec5a">更多...</a><br /></td></tr>
<tr class="separator:abde19df53c9f0119b3165238af69ec5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0213e825ba7b9a90abd150d3c61e07e"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/daf/struct_polyline_ops.html#ab0213e825ba7b9a90abd150d3c61e07e">OffsetLineStringXY</a> (xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;out, xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;in, double offsetDist, bool periodic=false, double maxMiterRadians=1.58)</td></tr>
<tr class="memdesc:ab0213e825ba7b9a90abd150d3c61e07e"><td class="mdescLeft">&#160;</td><td class="mdescRight">偏移线串  <a href="../../db/daf/struct_polyline_ops.html#ab0213e825ba7b9a90abd150d3c61e07e">更多...</a><br /></td></tr>
<tr class="separator:ab0213e825ba7b9a90abd150d3c61e07e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473bb8c4e0c4fb80f8d86f7fd7a4d1ca"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/daf/struct_polyline_ops.html#a473bb8c4e0c4fb80f8d86f7fd7a4d1ca">OffsetLineString</a> (xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;out, xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;in, double offsetDist, XVec3dCR planeNormal, bool periodic=false, double maxMiterRadians=1.58)</td></tr>
<tr class="memdesc:a473bb8c4e0c4fb80f8d86f7fd7a4d1ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">偏移线串  <a href="../../db/daf/struct_polyline_ops.html#a473bb8c4e0c4fb80f8d86f7fd7a4d1ca">更多...</a><br /></td></tr>
<tr class="separator:a473bb8c4e0c4fb80f8d86f7fd7a4d1ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb24e0104c38e255e0bb34d1d0d8e72"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/daf/struct_polyline_ops.html#a0fb24e0104c38e255e0bb34d1d0d8e72">CompressColinearPoints</a> (xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;points, double absTol, bool eliminateOverdraw, bool closed)</td></tr>
<tr class="memdesc:a0fb24e0104c38e255e0bb34d1d0d8e72"><td class="mdescLeft">&#160;</td><td class="mdescRight">压缩相邻点  <a href="../../db/daf/struct_polyline_ops.html#a0fb24e0104c38e255e0bb34d1d0d8e72">更多...</a><br /></td></tr>
<tr class="separator:a0fb24e0104c38e255e0bb34d1d0d8e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >关于线串的系列操作 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="abde19df53c9f0119b3165238af69ec5a" name="abde19df53c9f0119b3165238af69ec5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abde19df53c9f0119b3165238af69ec5a">&#9670;&nbsp;</a></span>ClosestApproach()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool ATGEOSET_EXPORT PolylineOps::ClosestApproach </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>xyzA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>xyzB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CurveDescInfoR&#160;</td>
          <td class="paramname"><em>locationA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CurveDescInfoR&#160;</td>
          <td class="paramname"><em>locationB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>最接近的点 </p>
<p >寻找两条线最近位置，如果有多处最小距离，随机选择一处</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>const &amp; xyzA </td></tr>
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>const &amp; xyzB </td></tr>
    <tr><td class="paramname">CurveDescInfoR</td><td>locationA </td></tr>
    <tr><td class="paramname">CurveDescInfoR</td><td>locationB </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool ATGEOSET_EXPORT</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/19 </dd></dl>

</div>
</div>
<a id="a0fb24e0104c38e255e0bb34d1d0d8e72" name="a0fb24e0104c38e255e0bb34d1d0d8e72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fb24e0104c38e255e0bb34d1d0d8e72">&#9670;&nbsp;</a></span>CompressColinearPoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT void PolylineOps::CompressColinearPoints </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>absTol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>eliminateOverdraw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>closed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>压缩相邻点 </p>
<p >消除相邻点以压缩数组</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>&amp; points </td></tr>
    <tr><td class="paramname">double</td><td>absTol </td></tr>
    <tr><td class="paramname">bool</td><td>eliminateOverdraw </td></tr>
    <tr><td class="paramname">bool</td><td>closed </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="a473bb8c4e0c4fb80f8d86f7fd7a4d1ca" name="a473bb8c4e0c4fb80f8d86f7fd7a4d1ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a473bb8c4e0c4fb80f8d86f7fd7a4d1ca">&#9670;&nbsp;</a></span>OffsetLineString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT bool PolylineOps::OffsetLineString </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offsetDist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVec3dCR&#160;</td>
          <td class="paramname"><em>planeNormal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>periodic</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxMiterRadians</em> = <code>1.58</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>偏移线串 </p>
<p >将线串偏移指定距离</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>&amp; out </td></tr>
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>const &amp; in </td></tr>
    <tr><td class="paramname">double</td><td>offsetDistance </td></tr>
    <tr><td class="paramname">XVec3dCR</td><td>planeNormal </td></tr>
    <tr><td class="paramname">bool</td><td>periodic </td></tr>
    <tr><td class="paramname">double</td><td>maxMiterRadians </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="ab0213e825ba7b9a90abd150d3c61e07e" name="ab0213e825ba7b9a90abd150d3c61e07e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0213e825ba7b9a90abd150d3c61e07e">&#9670;&nbsp;</a></span>OffsetLineStringXY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT bool PolylineOps::OffsetLineStringXY </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; <a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offsetDist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>periodic</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxMiterRadians</em> = <code>1.58</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>偏移线串 </p>
<p >将线串在XY方向上偏移指定距离</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>&amp; out </td></tr>
    <tr><td class="paramname">xvector&lt;XPoint3d&gt;</td><td>const &amp; in </td></tr>
    <tr><td class="paramname">double</td><td>offsetDistance </td></tr>
    <tr><td class="paramname">bool</td><td>periodic </td></tr>
    <tr><td class="paramname">double</td><td>maxMiterRadians </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATGeometrySet/<a class="el" href="../../d1/dd6/_a_t_opts_8h_source.html">ATOpts.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
